package com.ruoyi.project.men.service.impl;

import com.ruoyi.project.men.dao.MenProductTypeDao;
import com.ruoyi.project.men.domain.MenProductTypeDO;
import com.ruoyi.project.men.service.MenProductTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class MenProductTypeServiceImpl implements MenProductTypeService {
	@Autowired
	private MenProductTypeDao menProductTypeDao;
	
	@Override
	public MenProductTypeDO get(String id){
		return menProductTypeDao.get(id);
	}
	
	@Override
	public List<MenProductTypeDO> list(Map<String, Object> map){
		return menProductTypeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return menProductTypeDao.count(map);
	}
	
	@Override
	public int save(MenProductTypeDO menProductType){
		return menProductTypeDao.save(menProductType);
	}
	
	@Override
	public int update(MenProductTypeDO menProductType){
		return menProductTypeDao.update(menProductType);
	}
	
	@Override
	public int remove(String id){
		return menProductTypeDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return menProductTypeDao.batchRemove(ids);
	}

    @Override
    public List<MenProductTypeDO> likeList(Map<String, Object> map){
        return menProductTypeDao.likeList(map);
    }
    @Override
    public int likeListCount(Map<String, Object> map){
        return menProductTypeDao.likeListCount(map);
    }
	
}
